package cn.neusoft.mapper;

import cn.neusoft.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User>,PageMapper<User>{
	@Select("select * from t_user where username=#{username}")
	//这里在查询的时候，如果不是真的名字可能会造成重复值
	User getByUsername(String username);
}
